import Vue from 'vue'   //引入Vue
import Router from 'vue-router'  //引入vue-router
import login from '../pages/login.vue'
import loading from '../pages/loading.vue'
import platform from '../pages/platform.vue'
import result from '../pages/result.vue'
Vue.use(Router)
 

export default new Router({
  routes: [              
    {                    
      path: '/',         
      name: 'login',     
      component: login 
    },{
      path: '/loading',         
      name: 'loading',     
      component: loading 
    },{
      path: '/platform',         
      name: 'platform',     
      component: platform 
    },{
      path: '/result',         
      name: 'result',     
      component: result 
    }
  ]
})
